package com.watch.system.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.watch.system.model.dto.UserAuthInfo;
import com.watch.system.model.entity.CarAd;
import com.watch.system.model.entity.CarUser;
import com.watch.system.model.form.AdForm;
import com.watch.system.model.form.UserForm;
import com.watch.system.model.query.CarAdPageQuery;
import com.watch.system.model.query.CarUserPageQuery;
import com.watch.system.model.query.UserPageQuery;
import com.watch.system.model.vo.*;

import java.util.List;

/**
 * 用户业务接口
 *
 * @author haoxr
 * @since 2024/1/26
 */
public interface CarAdService extends IService<CarAd> {

    /**
     * 用户分页列表
     *
     * @return
     */
    IPage<CarAdPageVO> getAdPage(CarAdPageQuery queryParams);


    /**
     * 修改广告数据
     * @param adForm
     * @return
     */
    boolean updateAd(AdForm adForm);


    List<CarAdExportVO> listExportAds(CarAdPageQuery queryParams);

    boolean saveAdImport(CarAdImportVO carAdExportVO);

    boolean deleteAd(String id);
}
